<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.xr.common.Announce" %>
<%@ page import="com.bstek.dorado.utils.variant.VariantSet" %>
<%@ taglib uri="http://www.bstek.com/dorado" prefix="d" %>

<html>
<head>
<title></title>
</head>
<style type="text/css">
.tabright {
    background-image: url(jsp/images/banner.jpg);
    filter: Alpha(Opacity=100);
}
td{
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
</style>
<body leftmargin="3" topmargin="0" marginwidth="0" marginheight="0">

  <d:View config="com.xr.main.style2.welcome">


  <%-- 

<table width="100%" height="100%" border="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="100"><div align="center"><img src="jsp/images/news_t1.gif" width="91" height="108"></div></td>
            <td width="4" background="jsp/images/news_line1.gif">&nbsp;</td>
            <td>
            <table width="95%"  border="0" cellpadding="0" cellspacing="0">
            
                 <%
        Announce ann=new Announce();
        java.util.List list=ann.getAnnouceList(2);
        int size=list.size();
        System.out.println(size);
        for(int i=0;i<3;i++){
        if(i<size){
        VariantSet var=(VariantSet)list.get(i);
        
       %>
            
              <tr>
                <td width="30"><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td >&nbsp;<a href="jsp/oa/announce/announce_view.jsp?ID=<%=var.getValue("INFO_ANNOUNCE_ID")%>"><%=var.getString("ANNOUNCE_TITLE")%></a></td>
                <td width='30%'> <%=var.getString("SEND_DATE").substring(0,10) %>－－<%=var.getString("EMPLOYEE_NAME") %></td>
                </tr>
              <tr>
                <td height="1" colspan="3">
                <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                  </tr>
                </table>
                </td>
                </tr>
         <%}else{%>
          <tr>
                <td><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
              <tr>
                <td colspan="3"><div align="center">
                  <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                    </tr>
                  </table>
                </div></td>
                </tr>
                
         <%}}%>
                
                
                
                
                
            </table>
            
              <table width="100%"  border="0">
                <tr>
                  <td width="93%">&nbsp;</td>
                  <td width="7%"><a href='jsp/oa/announce/announce_list.jsp?msgclass=2'><img src="jsp/images/more.gif" style="border=0" width="34" height="5"></a></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><div align="right"><img src="jsp/images/news_line2.gif" width="415" height="6"></div></td>
            <td height="6" background="jsp/images/news_line3.gif"><img src="jsp/images/news_line3.gif" width="9" height="6"></td>
            <td><div align="left"><img src="jsp/images/news_line4.gif" width="365" height="6"></div></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="100"><div align="center"><img src="jsp/images/news_t2.gif" width="91" height="108"></div></td>
              <td width="4" background="jsp/images/news_line1.gif">&nbsp;</td>
              <td><table width="95%"  border="0" cellpadding="0" cellspacing="0">
              
                              <%
         list=ann.getAnnouceList(1);
         size=list.size();
        System.out.println(size);
        for(int i=0;i<3;i++){
        if(i<size){
        VariantSet var=(VariantSet)list.get(i);
        
       %>
            
              <tr>
                <td width="30"><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td >&nbsp;<a href="jsp/oa/announce/announce_view.jsp?ID=<%=var.getValue("INFO_ANNOUNCE_ID")%>"><%=var.getString("ANNOUNCE_TITLE")%></a></td>
                <td width='30%'> <%=var.getString("SEND_DATE").substring(0,10) %>－－<%=var.getString("EMPLOYEE_NAME") %></td>
                </tr>
              <tr>
                <td height="1" colspan="3">
                <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                  </tr>
                </table>
                </td>
                </tr>
         <%}else{%>
          <tr>
                <td><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
              <tr>
                <td colspan="3"><div align="center">
                  <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                    </tr>
                  </table>
                </div></td>
                </tr>
                
         <%}}%>
                
                </table>
                  <table width="100%"  border="0">
                    <tr>
                      <td width="93%">&nbsp;</td>
                      <td width="7%"><a href='jsp/oa/announce/announce_list.jsp?msgclass=1'><img src="jsp/images/more.gif" style="border=0" width="34" height="5"></a></td>
                    </tr>
                </table></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><div align="right"><img src="jsp/images/news_line2.gif" width="415" height="6"></div></td>
            <td height="6" background="jsp/images/news_line3.gif"><img src="jsp/images/news_line3.gif" width="9" height="6"></td>
            <td><div align="left"><img src="jsp/images/news_line4.gif" width="365" height="6"></div></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="100"><div align="center"><img src="jsp/images/news_t3.gif" width="91" height="108"></div></td>
              <td width="4" background="jsp/images/news_line1.gif">&nbsp;</td>
              <td><table width="95%"  border="0" cellpadding="0" cellspacing="0">
                   <%
    list=ann.getFileShare();
         size=list.size();
       // System.out.println(size);
        for(int i=0;i<3;i++){
        if(i<size){
        VariantSet var=(VariantSet)list.get(i);
        
       %>
            
              <tr>
                <td width="30"><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td >
                &nbsp;<a href='./common/file.download?file_full_name=<%=var.getValue("SAVE_PATH")%><%=var.getString("NEW_FILE_NAME")%>&straight_open=1&original_file_name=<%=var.getString("NEW_FILE_NAME")%>' target='blank'>
                <%=var.getString("FILES_NAME")%>
                </td>
                <td width='30%'> <%=var.getString("INPUT_DATE").substring(0,10) %>－－<%=var.getString("USER_NAME") %></td>
                </tr>
              <tr>
                <td height="1" colspan="3">
                <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                  </tr>
                </table>
                </td>
                </tr>
         <%}else{%>
          <tr>
                <td><div align="center"><img src="jsp/images/news_dot1.gif" width="3" height="3"></div></td>
                <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
              <tr>
                <td colspan="3"><div align="center">
                  <table width="100%" height="6"  border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="6" background="jsp/images/news_dot2.gif"><div align="left"><img src="jsp/images/news_dot3.gif" width="1" height="1"></div></td>
                    </tr>
                  </table>
                </div></td>
                </tr>
                
         <%}}%>
         
         
                </table>
                  <table width="100%"  border="0">
                    <tr>
                      <td width="93%">&nbsp;</td>
                      <td width="7%"><a  href='jsp/oa/fileShare/shareListTable.jsp'><img src="jsp/images/more.gif" style="border=0" width="34" height="5"></a></td>
                    </tr>
                </table></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
--%>
<d:SubWindow id="subwindowAddressBook" >
<iframe width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/org/emp/addressBook.jsp"></iframe>
</d:SubWindow>
 <d:SubWindow id="subwindowOnline">
<iframe  width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/hr/sys/onlineUser.jsp"></iframe>
</d:SubWindow>

<d:SubWindow id="subwindowRemind" >
<iframe id='ifameRemind' width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/oa/remind/welcomeList.jsp"></iframe>
</d:SubWindow>

<d:SubWindow id="subwindowNewColleague" >
<iframe  id='ifameNewColleague' width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/org/emp/newColleague.jsp"></iframe>
</d:SubWindow>

  <d:SubWindow id="subwindowNews" >
<iframe id='ifameNews'  width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/oa/announce/welcomeNews.jsp"></iframe>
</d:SubWindow>
  <d:SubWindow id="subwindowNotice" >
<iframe id='ifameNotice' width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/oa/announce/welcomeNotice.jsp"></iframe>
</d:SubWindow>
  <d:SubWindow id="subwindowInstitution" >
<iframe id='ifameInstitution' width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/oa/announce/welcomeInstitution.jsp"></iframe>
</d:SubWindow>
  <d:SubWindow id="subwindowShareFile" >
<iframe id='ifameShareFile' width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#CC0000" src="jsp/oa/fileShare/welcomeShare.jsp"></iframe>
</d:SubWindow>





 
 </d:View>

</body>
</html>
